package main

import "fmt"

type Student struct {
	Name string
	Age  int
}

func main() {
	s1 := Student{
		Name: "Tom",
		Age:  18,
	}
	fmt.Println(s1)

	s2 := Student{`Jerry`, 20}
	fmt.Println(s2)

	var s3 *Student = &Student{`Jerry`, 20}
	fmt.Println(*s3)

	var s4 *Student = &Student{
		Name: `Jerry`,
		Age:  20,
	}
	fmt.Println(*s4)
}
